//
//  EGMBleNordicUUID.h
//  EGMLibrary
//
//  Created by hh on 14-8-11.
//  Copyright (c) 2014年 egoman. All rights reserved.
//

#ifndef BleSports_EGMBleNordicUUID_h
#define BleSports_EGMBleNordicUUID_h



//---------------------------------------------------------------------------------
//generic access
#define ND_GA_SERVICE_UUID @"00001800-0000-1000-8000-00805f9b34fb"
#define ND_GA_CHAR_DEVICE_NAME_UUID @"00002A00-0000-1000-8000-00805f9b34fb"
#define ND_GA_CHAR_APPEARENCE_UUID @"00002A01-0000-1000-8000-00805f9b34fb"
#define ND_GA_CHAR_CONNECT_PARAM_UUID @"00002A04-0000-1000-8000-00805f9b34fb"
//---------------------------------------------------------------------------------
//generic attribute
#define ND_GATT_SERVICE_UUID @"00001801-0000-1000-8000-00805f9b34fb"
//---------------------------------------------------------------------------------
//device infomation
#define ND_DI_SERVICE_UUID @"0000180A-0000-1000-8000-00805f9b34fb"
#define ND_DI_CHAR_MANUFACTURER_NAME_UUID @"00002A29-0000-1000-8000-00805f9b34fb"
#define ND_DI_CHAR_MODEL_NAME_UUID @"00002A24-0000-1000-8000-00805f9b34fb"
#define ND_DI_CHAR_SERIAL_NUMBER_UUID @"00002A25-0000-1000-8000-00805f9b34fb"
#define ND_DI_CHAR_HARDWARE_REVISION_UUID @"00002A27-0000-1000-8000-00805f9b34fb"
#define ND_DI_CHAR_SOFTWARE_REVISION_UUID @"00002A28-0000-1000-8000-00805f9b34fb"
#define ND_DI_CHAR_MAC_UUID @"00002A25-0000-1000-8000-00805f9b34fb"
//---------------------------------------------------------------------------------
//battery service
#define ND_BS_SERVICE_UUID @"0000180F-0000-1000-8000-00805f9b34fb"
#define ND_BS_CHAR_BATTERY_LEVEL_UUID @"00002A19-0000-1000-8000-00805f9b34fb"
//---------------------------------------------------------------------------------
//TxPower
#define ND_TP_SERVICE_UUID @"00001804-0000-1000-8000-00805f9b34fb"
#define ND_TP_CHAR_POWER_LEVEL_UUID @"00002A07-0000-1000-8000-00805f9b34fb"
//---------------------------------------------------------------------------------
//immediate alert
#define ND_IA_SERVICE_UUID @"00001802-0000-1000-8000-00805f9b34fb"
#define ND_IA_CHAR_ALERT_LEVEL_UUID @"00002A06-0000-1000-8000-00805f9b34fb"
//---------------------------------------------------------------------------------
//link loss
#define ND_LL_SERVICE_UUID @"00001803-0000-1000-8000-00805f9b34fb"
#define ND_LL_CHAR_ALERT_LEVEL_UUID @"00002A06-0000-1000-8000-00805f9b34fb"
//---------------------------------------------------------------------------------
//running speed & cadence
#define ND_RSC_SERVICE_UUID @"00001814-0000-1000-8000-00805f9b34fb"
#define ND_RSC_CHAR_MEASUREMENT_UUID @"00002A53-0000-1000-8000-00805f9b34fb"
#define ND_RSC_CHAR_FEATURE_UUID @"00002A54-0000-1000-8000-00805f9b34fb"
//---------------------------------------------------------------------------------
// hrm service
#define ND_HRM_SERVICE_UUID @"0000180D-0000-1000-8000-00805f9b34fb"
#define ND_HRM_CHAR_MEASURE_UUID @"00002A37-0000-1000-8000-00805f9b34fb"
#define ND_HRM_CHAR_SENSOR_LOCATION_UUID @"00002A38-0000-1000-8000-00805f9b34fb"
#define ND_HRM_CHAR_CONTROL_POINT_UUID @"00002A39-0000-1000-8000-00805f9b34fb"
//---------------------------------------------------------------------------------
// user define service
#define ND_UDS_SERVICE_UUID @"0000FFC0-0000-1000-8000-00805f9b34fb"
#define ND_UDS_CHAR_STEP_UUID @"0000FF11-0000-1000-8000-00805f9b34fb"
#define ND_UDS_CHAR_COMMAND_UUID @"0000FF12-0000-1000-8000-00805f9b34fb"
#define ND_UDS_CHAR_TIME_UUID @"0000FF15-0000-1000-8000-00805f9b34fb"
#define ND_UDS_CHAR_PARAM_UUID @"0000FF14-0000-1000-8000-00805f9b34fb"
#define ND_UDS_CHAR_MASS_DATA_UUID @"0000FF21-0000-1000-8000-00805f9b34fb"
#define ND_UDS_CHAR_HOUR_STEP_UUID @"0000FF13-0000-1000-8000-00805f9b34fb"

#define ND_DFU_SERVICE_UUID @"00001530-1212-EFDE-1523-785FEABCD123"
#define ND_DFU_SECURE_SERVICE_UUID @"FE59"

/**
 ECG
 */
#define ECG_SERVIICE_UUID @"0000FFB0-0000-1000-8000-00805f9b34fb"
#define CS_CHAR_ECG_UUID @"0000FFB2-0000-1000-8000-00805f9b34fb"
#define CS_NOTIFY_ECG_UUID @"0000FFB1-0000-1000-8000-00805f9b34fb"
#endif
